Exercise: Transfer Functions
In this exercise, you will solve tasks related to transfer functions.
We'll cover the following
Task 1#
The following is a combination of different transfer functions in series and parallel. The value of each transfer function is given below.
Task 2#
The poles and zeros of a transfer function are the roots of the denominator and the numerator, respectively.
Problem statement#
Find the poles and zeros of the transfer function of the system above and make sure their data type is complex.
The hint below will help you get started if you are stuck.
In SymPy, use numer(exp) to extract the numerator of exp.
In SymPy, use denom(exp) to extract the denominator of exp.
Use all the suitable packages that you have learned throughout the course
Task 3#
As you can see above, poles and zeros of a system can be real or complex.
Problem statement#
Make a scatter plot the poles and zeros of the system on a complex plane,that is, the y-axis is imaginary and the x-axis is real.
- Use the
xto represent the poles. - Use the
oto represent the zeros.
Requirements for the plot:
- axes labels
- titles
- lines at and
- legend
Use all the suitable packages that you have learned throughout the course.
To display the plot, don’t forget to use the
plt.savefig(output/filename.png)command to save the figure to the output folder.
Use all the suitable packages that you have learned throughout the course.
Solutions to these tasks will be discussed in the next lesson.
Preview: Transfer Functions
Solution Review: Transfer Functions